package com.yz.lzq.liwushuo.ui.modules.category;

import com.yz.lzq.liwushuo.jsonbean.category.CategoryBean;
import com.yz.lzq.liwushuo.jsonbean.category.CategroyDanPBean;

import retrofit2.Call;
import retrofit2.http.GET;

/**
 * Created by AdminJia on 2016/12/12.
 */

public interface CategorInterface {


    //攻略接口
    interface CategoryGonglInterface {
        /**
         * 分类页面的攻略页面接口
         *
         * @return
         */
        //攻略页面上横滚动的recyclerView的接口
        @GET("v2/columns")
        Call<CategoryBean.CategoryGongLHeaderBean> getHeaderData();

        //攻略页面下recyclerView的接口
        @GET("v2/channel_groups/all")
        Call<CategoryBean.CategoryGongLBean> getGongLData();

    }


    //单品接口
    interface CategoryDanPInterface {
        /**
         * 分类页面的单凭接口
         *
         * @return
         */
        @GET("v2/item_categories/tree ")
        Call<CategroyDanPBean> getData();
    }
}
